<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<base href="http://localhost:8080/Gucci/">
<%
session.getAttribute("sanpint");

%>
<title>添加DVD信息</title>
</head>
<style type="text/css">
table.gridtable {
	font-family: verdana, arial, sans-serif;
	font-size: 15px;
	color: #333333;
	border-width: 1px;
	border-color: #666666;
	border-collapse: collapse;
}

table.gridtable th {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #666666;
	background-color: #dedede;
}

table.gridtable td {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #666666;
	background-color: #ffffff;
}
</style>
<script type="text/javascript">
	//检查登录表单
	function checkBox() {
		/*         var name = document.getElementById("dvdName").value;
		 var type = document.getElementById("dvdType").value;

		 if (name != ""&&type!="") {
		 return true;
		 } else {
		 document.getElementById("isEmpty").value = "EMPTY";
		 alert("DVD信息不能为空哦~");
		 document.getElementById("loginname").focus(); //光标占位
		 return false;
		 } */
	}
</script>
<body>
	<div style="margin-left: 400px">
		<h1 style="margin-left: 10px;">添加DVD信息：</h1>
		<br>
		<table class="gridtable">
		<form action="XingWenHT/XiouGaiXW.jsp" method="post" >
			



				
			
			
				<tr>

					<td colspan="2"><input type="submit" name="add" value="添加"
						style="width: 120px; height: 30px; background-color: blue; border: 0px; color: #fff5ee; font-size: 15px; margin-left: 10px;">
						<a
						href="${pageContext.request.contextPath}/ProductServlet?method=toMainView&currentPage=${currentPage }"
						style="float: right;">返回主页</a></td>
				</tr>
				</form> 
				
					<form action="XingWenHT/XiouGaiXW.jsp" method="post">
					
						<tr>
							<td>请输入id:</td>
							<td width="300px"><input id="dvdType1" type="text"
								name="dvdType2" value="${sanpint}" style="border: 0px; font-size: 20px;"> <input
								type="hidden" name=""></td>
						</tr>
						<tr>

							<td colspan="2"><input type="submit" name="xg" value="修改"
								style="width: 120px; height: 30px; background-color: blue; border: 0px; color: #fff5ee; font-size: 15px; margin-left: 10px;">
					
					</form>
				
				<tr>
					<form action="XingWenHT/XiouGaiXW.jsp" method="post">
						<tr>
							<td>请输入id:</td>
							<td width="300px"><input id="dvdType" type="text"
								name="dvdTypes" value="${sanpint}"  style="border: 0px; font-size: 20px;"> <input
								type="hidden" name=""></td>
						</tr>
						<tr>

							<td colspan="2"><input type="submit" name="sc" value="删除"
								style="width: 120px; height: 30px; background-color: blue; border: 0px; color: #fff5ee; font-size: 15px; margin-left: 10px;">
					</form>
				</tr>
			</table>
			<input type="hidden" id="isEmpty" name="isEmpty" value="FULL">
	</div>
</body>
</html>